import request from '@/utils/request'
// 平台技术成果类型列表数据
export function achievementsTypeList (data) {
  return request({
    url: '/platformAchievement/getAchievementTypeAll',
    method: 'post',
    data
  })
}
// 平台技术成果类型添加
export function achievementsTypeAdd (data) {
  return request({
    url: '/platformAchievement/achievementTypeSave',
    method: 'post',
    data
  })
}
// 平台技术成果类型查看
export function achievementsTypeDetail (params) {
  return request({
    url: '/platformAchievement/achievementTypeInfo',
    method: 'post',
    params
  })
}
// 平台技术成果类型删除
export function achievementsTypeDelete (params) {
  return request({
    url: '/platformAchievement/achievementTypeDelete',
    method: 'post',
    params
  })
}

// 平台技术成果列表数据
export function achievementsList (data) {
  return request({
    url: '/platformAchievement/getAchievementAll',
    method: 'post',
    data
  })
}
// 平台技术成果添加
export function achievementsAdd (data) {
  return request({
    url: '/platformAchievement/achievementSave',
    method: 'post',
    data
  })
}
// 平台技术成果查看
export function achievementsDetail (params) {
  return request({
    url: '/platformAchievement/achievementInfo',
    method: 'post',
    params
  })
}
// 平台技术成果删除
export function achievementsDelete (params) {
  return request({
    url: '/platformAchievement/achievementDelete',
    method: 'post',
    params
  })
}
// 平台技术成果审核
export function achievementsExamine (params) {
  return request({
    url: '/platformAchievement/achievementExamine',
    method: 'post',
    params
  })
}
